home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 97 / CD-ROM 97 / CD-ROM 97.iso / jogos / spherical / Code / Game / hiscore.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-07-29  |  895 b   |  27 lines

  1.  
  2. // Copyright (C) 2002 by Luigi Pino.  All Rights Reserved.
  3.  
  4. /***************************************************************************/
  5.  
  6. typedef struct {
  7.     bool    new_high[6];                                                                    // Whether or not value is a high_score
  8.     char    name[6][19];                                                                    // Name of player    - [5] temp value
  9.     float    time[6];                                                                            // Most time between spheres
  10.     int        spheres[6];                                                                        // Amount of spheres let in
  11. } High_Score_Struct;
  12.  
  13. /***************************************************************************/
  14.  
  15. int Compare_High_Score_Sphere(const void *p, const void *q);
  16.  
  17. int Compare_High_Score_Time(const void *p, const void *q);
  18.  
  19. void Save_High_Score_Verification();
  20.  
  21. void Show_High_Scores(bool color_menu);
  22.  
  23. void Sort_High_Score_Sphere();
  24.  
  25. void Sort_High_Score_Time();
  26.  
  27. /***************************************************************************/